FROM java:8

COPY target/exam.jar web-application.jar

EXPOSE 8085

ENTRYPOINT ["java","-jar","web-application.jar","--spring.profiles.active=docker"]